// $Id$


/**
 * New Game Dialog header file.
 *
 * @file NewGameDialog.h
 * @author Wim Leers
 */


#ifndef NEWGAMEDIALOG_H
#define NEWGAMEDIALOG_H

#include <string>
using namespace std;
#include <QDialog>
#include <QDialogButtonBox>
#include <QLabel>
#include <QLineEdit>

class NewGameDialog : public QDialog {
	Q_OBJECT

	public:
		NewGameDialog(QWidget * parent = NULL) : QDialog(parent) { SetupUI(); }
		virtual ~NewGameDialog(void) {}

	signals:
		void NewGame(string p1Name, string p2Name);

	public slots:
		void CatchAccepted(void);

	private:
	    QDialogButtonBox * buttonBox;
	    QLabel * p1_label, * p2_label;
	    QLineEdit * p1_name, * p2_name;

		void SetupUI(void);
};

#endif
